<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>

	<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8” />
	
	<link rel="stylesheet" href="/static/styles/reset-fonts-grids.css" type="text/css" />
	<link rel="stylesheet" href="/static/styles/main.css" type="text/css" />
	<link rel="stylesheet" href="/static/styles/fragments.css" type="text/css" />
	
	<link rel="alternate" type="application/atom+xml" title="Rockmaple's Blog Atom Feed" href="http://feeds.feedburner.com/rockmaple" />
	{% block styles %}
	{% endblock %}
	
	{% block header_scripts %}
	{% endblock %}
    
	<title>
    	{% block title %}
        	首页
    	{% endblock %}
	</title>
     
</head>
<body>
  <div class="site-doc yui-d3">
    <div id="hd">
      <div id="logo">
      	<a href="/"><i>Rockmaple's Blog</i></a>
      </div>
      <div id="linkbar">
      	{% block linkbar %}
      	  {% if user.is_sign_in %}欢迎你，{{ user.email }} | {% endif %}
            <a href="/">首页</a> 
          | <a href="/archive/">归档</a>
          | {% if user.is_sign_in %}
          		<a href = "{{ sign_out_url }}" >登出</a>
            {% else %}
                <a href = "{{ sign_in_url }}" >登录</a>
            {% endif %}          
        {% endblock %}
      </div>
      <div class="clear"></div>
	</div>
	<div id="bd" class="yui-t5">
	  <div class="yui-main">
	    <div id="main" class="yui-b">
	      {% block main_content %}
		  {% endblock %}
	    </div>
	  </div>
	  <div id="nav" class="yui-b">
		{% block sidebar %}
		{% endblock %}
		<div style="margin-left:-0.6em;margin-right:0.4em">
			<script type="text/javascript" src="https://www.google.com/reader/ui/publisher-en.js"></script>
			<script type="text/javascript" src="https://www.google.com/reader/public/javascript/user/12398935471779015285/state/com.google/broadcast?n=6&callback=GRC_p(%7Bc%3A%22green%22%2Ct%3A%22rockmaple's%20shared%20items%22%2Cs%3A%22false%22%2Cb%3A%22false%22%7D)%3Bnew%20GRC"></script>
		</div>
		<div style="margin-top:0.5em;margin-bottom:0.5em;">
			<img src="/static/images/gmail.png" />
		</div>
		<img src="http://code.google.com/appengine/images/appengine-silver-120x30.gif" alt="Powered by Google App Engine" />
	  </div>
	</div>
	<div id="ft">
		&copy;2009 Rockmaple <a href="http://creativecommons.org/licenses/by/3.0/deed.zh" target="_blank">Creative Commons License</a>
	</div>
  </div>
  <div id="overlay" style="display:none"></div>
  <div id="top-loading" style="display:none">
  	加载中...
  </div>
  
  {% block extra_nodes %}
  {% endblock %}
  
  <script type="text/javascript" src="/static/scripts/jquery-1.3.2.min.js"></script>
  <script type="text/javascript" src="/static/scripts/common.js"></script>
  {% block scripts %}
  {% endblock %}
  
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-10059224-1");
pageTracker._trackPageview();
} catch(err) {}
</script>
</body>
</html>